package org.news.controller;

import org.news.beans.Types;
import org.news.beans.Users;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * Created by lenovo on 2016/5/15.
 */
@Controller
public class TypesCtroller {

    @RequestMapping( value = "/addTypes")
    public String login(Model model){
        model.addAttribute("types",new Types());
        return "Manage.jsp?include=addTypes";
    }

}
